home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Joker 5 & 6 / Multimedia Joker 1996-05 & 06 (1996)(Joker Verlag)(DE)[Amiga-Mac-PC].iso / mac / AMIGA / PDTOOLS / OPUSMPEG.DMS / OPUSMPEG.adf / Unpack < prev    next >
Text File  |  1995-12-10  |  2KB  |  66 lines

  1. failat 30
  2.  
  3. echo "*n*e[1;32m ____________________________________________________________________"
  4. echo " *e[43m                                                                    *e[0m"
  5. echo " *e[0;32;43m                Welcome to the unpack utilitie                      *e[0m"
  6. echo " *e[1;4;43m                                                                    *e[0m"
  7. echo ""
  8. echo " This script will unpack the cdda_mpeg_op5.lzx and cd_cd32_opus5.lzx   "
  9. echo " archive to some directory of your choice. After that, you will have to"
  10. echo " move to this directory and click on the Install icon to install CDDA, "
  11. echo " MPEG-Soundsystem & Sampleplayer for DirOpus5."
  12. echo " Notes: A drawer called cdda_mpeg_op5 and cd_cd32_opus5 will be created"
  13. echo "        in the specified directory."
  14. echo "        You should have at least 1.5 Megs of space available there."
  15. echo ""
  16.  
  17. echo " Please enter the directory now : " noline
  18. set >nil: dest ?
  19. echo ""
  20. if $dest eq ""
  21.     skip abort
  22. endif
  23.  
  24. if $dest eq "*$dest"
  25.     skip abort
  26. endif
  27.  
  28. if not exists $dest
  29.     echo "'$dest' does not exist. Shall I create it (y/n)? " noline
  30.     set >nil: yesno ?
  31.     if $yesno eq "ja"
  32.         skip create
  33.     endif
  34.     if $yesno eq "j"
  35.         skip create
  36.     endif
  37.     if $yesno eq "y"
  38.         skip create
  39.     endif
  40.     if $yesno eq "yes"
  41.         skip create
  42.     endif
  43.     skip abort
  44.     lab create
  45.     makedir $dest
  46.     if warn
  47.         echo "Failed to create '$dest'."
  48.         skip abort
  49.     endif
  50. endif
  51.  
  52. echo ""
  53. echo " Unpacking process running ... " noline
  54.  
  55. unlzx <nil: -F x cdda_mpeg_op5.lzx $dest
  56. unlzx <nil: -F x cd_cd32_opus5.lzx $dest
  57.  
  58. echo " Unpack Installation OK."
  59. wait 3
  60. quit
  61.  
  62. lab abort
  63. echo " Installation aborted."
  64. wait 3
  65. quit
  66.